﻿namespace NJabber.Stream.Elements
{
    public abstract class Stanza : DatagramElement
    {
        protected Stanza(string name) : base(name)
        { }

        protected Stanza(string name, string namespaceName, string namespaceUri) :base(name, namespaceName, namespaceUri)
        { }

        public string Type
        {
            get { return (string)GetAttributeValue("type"); }
            set { SetAttributeValue("type", value); }
        }
    }
}
